﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DAL
{
    public partial class ExportationType
    {
        public override string ToString()
        {
            return this.Name;
        }

        public static IQueryable<ExportationType> GetAll()
        {
            DataAccessDataContext da = new DataAccessDataContext();
            return from t in da.ExportationTypes
                   select t;
        }
    }
}
